import envConfig from '@/config/env';
import { HealthApis } from '@health/apis';
import { LvtongApis, LoginApis } from '@/api/lvtong';
import { createHealthApiRequestAjax, createLvtongAjax } from './utils';

const healthApis = createHealthApiRequestAjax.regist(HealthApis, envConfig.healthBaseURL + 'main/action');

const loginApis = createHealthApiRequestAjax.regist(LoginApis, envConfig.loginBaseURL);

const lvtongApis = createLvtongAjax.regist(LvtongApis, envConfig.baseURL + 'hospital/gchannel/');

export { healthApis, lvtongApis, loginApis };
